import {UserInfo} from '../entity/index'
interface IEnrollmentTime {
  code: number;
  msg: string;
  data:UserInfo
}

export function getEnrollmentTime(): IEnrollmentTime {
  return {
    code: 200,
    msg: "成功",
    data:{
      avatar:'http://localhost:5173/image/avatar (1).png',
      name:'翟枫君',
      status:'已签约',
      statusColor:'#c5ede4',
      functionList:[
        {
         text:'健康档案',
         icon:'invitation'
        },
        {
         text:'健康记录',
         icon:'like'
        },
        {
         text:'签约信息',
         icon:'records'
        },
        {
         text:'服务记录',
         icon:'user'
        }
       ],
      userInfo:{
        personInfo:[
            {
              text:'身份证号码',
              value:'334526489542563345'
            },
            {
              text:'性别',
              value:'女'
            },
            {
              text:'年龄',
              value:26
            },
            {
              text:'联系电话',
              value:13800138000
            },
            {
              text:'现居地',
              value:'广东省佛山市南海区大沥镇五一村3号'
            },
            {
              text:'居民来源',
              value:'医生建档'
            },
            {
              text:'真实姓名',
              value:[
                {
                  text:"高血压",
                  color:'green'
                },
                {
                  text:'低血糖',
                  color:'yellow'
                }
              ]
            }
        ],
        familyMembers:[
          {
            name:'韦栋',
            age:58,
            avatar:'http://localhost:5173/image/avatar_1 (1).png',
            relationship:'母亲',
            sex:'女'
          },
          {
            name:'布馨昭',
            age:60,
            avatar:'http://localhost:5173/image/avatar_2 (1).png',
            relationship:'父亲',
            sex:'男'
          }
        ]
      },

    },
  };
}
